<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>结果跳转</title>
</head>

<body>
	<h1>跳转结果页,5秒钟跳转哦</h1>
	<c:if test="${payResult.resultUrl == null}" var="nvl">
		<script language="javascript">
			setTimeout('window.location="http://ics.365car.com.cn/"', 1);
		</script>
	</c:if>
	<c:if test="${!nvl}">
		<form id="paysubmit" name="paysubmit" action="${payResult.resultUrl}"
			method="post">
			<input type="hidden" name="orderId" value="${payResult.orderId}" />
			<input type="hidden" name="result" value="${payResult.result}" />
			<input type="hidden" name="payType" value="${payResult.payType}" />  
			<input type="hidden" name="errMsg" value="${payResult.errMsg}" /> 
			<input type="submit" value="确认" style="display: none;">
		</form>
		<script>
			setTimeout("document.forms['paysubmit'].submit()", 5);
		</script>
	</c:if>
</body>
</html>
